
frappe.listview_settings['SRM AlterMold'] = {
    filters: [
        ['workflow_state', '!=', 'Rejected']
    ],
    // 隐藏标准list中的name列:配合Doctype定义中的标题字段设置
	hide_name_column: true,
    // 隐藏标准list中的name过滤
    onload: function(me) {
        me.$page.find(`div[data-fieldname='name']`).addClass('hide');
        me.page.fields_dict.project_name.value = undefined;
        me.page.fields_dict.project_name.refresh_input();
        me.page.fields_dict.applicant_username.value = undefined;
        me.page.fields_dict.applicant_username.refresh_input();
        me.page.fields_dict.billno.value = undefined;
        me.page.fields_dict.billno.refresh_input();
        me.page.fields_dict.department_and_line.value = undefined;
        me.page.fields_dict.department_and_line.refresh_input();
        me.page.fields_dict.frame_model.value = undefined;
        me.page.fields_dict.frame_model.refresh_input();
        me.page.fields_dict.mold_category.value = undefined;
        me.page.fields_dict.mold_category.refresh_input();
    }
};